﻿namespace WMS6.Web.InventoryMgtServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="InventoryQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity")]
    public class InventoryQueryEntity : BaseQuery
    {
        [OptionalField]
        private string ConditionField;
        [OptionalField]
        private string Descr2Field;
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string ExpiryDateField;
        [OptionalField]
        private string ExternalLotField;
        [OptionalField]
        private string LocationField;
        [OptionalField]
        private string LotAttribute10Field;
        [OptionalField]
        private string LotAttribute1Field;
        [OptionalField]
        private string LotAttribute2Field;
        [OptionalField]
        private string LotAttribute3Field;
        [OptionalField]
        private string LotAttribute4Field;
        [OptionalField]
        private string LotAttribute5Field;
        [OptionalField]
        private string LotAttribute6Field;
        [OptionalField]
        private string LotAttribute7Field;
        [OptionalField]
        private string LotAttribute8Field;
        [OptionalField]
        private string LotAttribute9Field;
        [OptionalField]
        private string LotAttributeIDField;
        [OptionalField]
        private string LPNField;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string ProductDateField;
        [OptionalField]
        private string QTYField;
        [OptionalField]
        private string ReceiptDateField;
        [OptionalField]
        private string SkuClassDescr2Field;
        [OptionalField]
        private string SkuClassDescrField;
        [OptionalField]
        private string SkuClassIDField;
        [OptionalField]
        private string SkuField;
        [OptionalField]
        private string SkuGroupField;
        [OptionalField]
        private string VendorIDField;

        [DataMember]
        public string Condition
        {
            get
            {
                return this.ConditionField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ConditionField, value))
                {
                    this.ConditionField = value;
                    base.RaisePropertyChanged("Condition");
                }
            }
        }

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    base.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string Descr2
        {
            get
            {
                return this.Descr2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Descr2Field, value))
                {
                    this.Descr2Field = value;
                    base.RaisePropertyChanged("Descr2");
                }
            }
        }

        [DataMember]
        public string ExpiryDate
        {
            get
            {
                return this.ExpiryDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExpiryDateField, value))
                {
                    this.ExpiryDateField = value;
                    base.RaisePropertyChanged("ExpiryDate");
                }
            }
        }

        [DataMember]
        public string ExternalLot
        {
            get
            {
                return this.ExternalLotField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternalLotField, value))
                {
                    this.ExternalLotField = value;
                    base.RaisePropertyChanged("ExternalLot");
                }
            }
        }

        [DataMember]
        public string Location
        {
            get
            {
                return this.LocationField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocationField, value))
                {
                    this.LocationField = value;
                    base.RaisePropertyChanged("Location");
                }
            }
        }

        [DataMember]
        public string LotAttribute1
        {
            get
            {
                return this.LotAttribute1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute1Field, value))
                {
                    this.LotAttribute1Field = value;
                    base.RaisePropertyChanged("LotAttribute1");
                }
            }
        }

        [DataMember]
        public string LotAttribute10
        {
            get
            {
                return this.LotAttribute10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute10Field, value))
                {
                    this.LotAttribute10Field = value;
                    base.RaisePropertyChanged("LotAttribute10");
                }
            }
        }

        [DataMember]
        public string LotAttribute2
        {
            get
            {
                return this.LotAttribute2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute2Field, value))
                {
                    this.LotAttribute2Field = value;
                    base.RaisePropertyChanged("LotAttribute2");
                }
            }
        }

        [DataMember]
        public string LotAttribute3
        {
            get
            {
                return this.LotAttribute3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute3Field, value))
                {
                    this.LotAttribute3Field = value;
                    base.RaisePropertyChanged("LotAttribute3");
                }
            }
        }

        [DataMember]
        public string LotAttribute4
        {
            get
            {
                return this.LotAttribute4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute4Field, value))
                {
                    this.LotAttribute4Field = value;
                    base.RaisePropertyChanged("LotAttribute4");
                }
            }
        }

        [DataMember]
        public string LotAttribute5
        {
            get
            {
                return this.LotAttribute5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute5Field, value))
                {
                    this.LotAttribute5Field = value;
                    base.RaisePropertyChanged("LotAttribute5");
                }
            }
        }

        [DataMember]
        public string LotAttribute6
        {
            get
            {
                return this.LotAttribute6Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute6Field, value))
                {
                    this.LotAttribute6Field = value;
                    base.RaisePropertyChanged("LotAttribute6");
                }
            }
        }

        [DataMember]
        public string LotAttribute7
        {
            get
            {
                return this.LotAttribute7Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute7Field, value))
                {
                    this.LotAttribute7Field = value;
                    base.RaisePropertyChanged("LotAttribute7");
                }
            }
        }

        [DataMember]
        public string LotAttribute8
        {
            get
            {
                return this.LotAttribute8Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute8Field, value))
                {
                    this.LotAttribute8Field = value;
                    base.RaisePropertyChanged("LotAttribute8");
                }
            }
        }

        [DataMember]
        public string LotAttribute9
        {
            get
            {
                return this.LotAttribute9Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttribute9Field, value))
                {
                    this.LotAttribute9Field = value;
                    base.RaisePropertyChanged("LotAttribute9");
                }
            }
        }

        [DataMember]
        public string LotAttributeID
        {
            get
            {
                return this.LotAttributeIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttributeIDField, value))
                {
                    this.LotAttributeIDField = value;
                    base.RaisePropertyChanged("LotAttributeID");
                }
            }
        }

        [DataMember]
        public string LPN
        {
            get
            {
                return this.LPNField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LPNField, value))
                {
                    this.LPNField = value;
                    base.RaisePropertyChanged("LPN");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    base.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string ProductDate
        {
            get
            {
                return this.ProductDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ProductDateField, value))
                {
                    this.ProductDateField = value;
                    base.RaisePropertyChanged("ProductDate");
                }
            }
        }

        [DataMember]
        public string QTY
        {
            get
            {
                return this.QTYField;
            }
            set
            {
                if (!object.ReferenceEquals(this.QTYField, value))
                {
                    this.QTYField = value;
                    base.RaisePropertyChanged("QTY");
                }
            }
        }

        [DataMember]
        public string ReceiptDate
        {
            get
            {
                return this.ReceiptDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReceiptDateField, value))
                {
                    this.ReceiptDateField = value;
                    base.RaisePropertyChanged("ReceiptDate");
                }
            }
        }

        [DataMember]
        public string Sku
        {
            get
            {
                return this.SkuField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuField, value))
                {
                    this.SkuField = value;
                    base.RaisePropertyChanged("Sku");
                }
            }
        }

        [DataMember]
        public string SkuClassDescr
        {
            get
            {
                return this.SkuClassDescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuClassDescrField, value))
                {
                    this.SkuClassDescrField = value;
                    base.RaisePropertyChanged("SkuClassDescr");
                }
            }
        }

        [DataMember]
        public string SkuClassDescr2
        {
            get
            {
                return this.SkuClassDescr2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuClassDescr2Field, value))
                {
                    this.SkuClassDescr2Field = value;
                    base.RaisePropertyChanged("SkuClassDescr2");
                }
            }
        }

        [DataMember]
        public string SkuClassID
        {
            get
            {
                return this.SkuClassIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuClassIDField, value))
                {
                    this.SkuClassIDField = value;
                    base.RaisePropertyChanged("SkuClassID");
                }
            }
        }

        [DataMember]
        public string SkuGroup
        {
            get
            {
                return this.SkuGroupField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuGroupField, value))
                {
                    this.SkuGroupField = value;
                    base.RaisePropertyChanged("SkuGroup");
                }
            }
        }

        [DataMember]
        public string VendorID
        {
            get
            {
                return this.VendorIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorIDField, value))
                {
                    this.VendorIDField = value;
                    base.RaisePropertyChanged("VendorID");
                }
            }
        }
    }
}

